import request from '@/utils/request'

export function line_index(params) {
  return request({
    url: '/line/index',
    method: 'get',
    params
  })
}

export function line_add(data) {
  return request({
    url: '/line/add',
    method: 'post',
    data:data
  })
}

export function line_edit(data) {
  return request({
    url: '/line/edit',
    method: 'post',
    data:data
  })
}

export function line_delete(data) {
  return request({
    url: '/line/delete',
    method: 'post',
    data:data
  })
}

export function line_confirmDelete(data) {
  return request({
    url: '/line/confirmDelete',
    method: 'post',
    data:data
  })
}




